package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Data
@Table(name = "cn_dmc_configure_offline_alert_group")
public class DmcConfigureOfflineAlertGroup {

    @Id
    @Column(name = "configure_alert_id")
    @NotNull(message = "{configure_alert_id.null}")
    private Long configureAlertId;

    @Id
    @Column(name = "group_id")
    @NotNull(message = "{group.id.null}")
    private Long groupId;

    @Column
    private Integer status;
}
